import { AppRouteModule } from '/@/router/types';
import { LAYOUT } from '/@/router/constant';
const IFrame = () => import('/@/views/sys/iframe/FrameBlank.vue');

const document: AppRouteModule = {
  path: '/document',
  name: '项目文档',
  component: LAYOUT,
  meta: {
    icon: 'mdi:text-box-outline',
    title: '项目文档',
    orderNo: 100,
  },
  children: [
    {
      path: 'https://gitee.com/gdut-tencent-3/monitor-backend/blob/master/README.md',
      name: '后端仓库',
      component: IFrame,
      meta: {
        title: '后端仓库',
      },
    },
    {
      path: 'https://gitee.com/gdut-tencent-3/monitor-frontend/blob/master/README.zh-CN.md',
      name: '前端仓库',
      component: IFrame,
      meta: {
        title: '前端仓库',
      },
    },
    {
      path: 'https://gitee.com/gdut-tencent-3/monitor-agent/blob/master/README.md',
      name: 'Agent仓库',
      component: IFrame,
      meta: {
        title: 'Agent仓库',
      },
    },
  ],
};

export default document;
